/*
 * sys_error.h
 *
 *  Created on: 2018年8月9日
 *      Author: yfj
 */

#ifndef SYS_ERROR_H_
#define SYS_ERROR_H_
#ifdef __cplusplus
extern "C"
{
#endif  /* __cplusplus */

/*----------------------------------------------------------------------------*/
#define SYS_OK		( 0 )
#define SYS_FAIL	( -1 )
#define SYS_ERROR	( -2 )
#define SYS_NOMEM	( -3 )
#define SYS_BUSY	( -4 )
#define SYS_TIMEOUT	( -5 )
#define SYS_EXIST	( -6 )
#define SYS_NOTFOUND ( -7 )
#define SYS_INVALID	( -8 )
#define SYS_EOF		( -9 )

/*----------------------------------------------------------------------------*/


#ifdef __cplusplus
}
#endif  /* __cplusplus */
#endif /* SYS_ERROR_H_ */
